package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;


@Getter
@Setter
public class QuestionReply extends BaseDomain {
    //问题的id
    private Long questionId;
    //回答内容
    private String replyContent;
    //回答的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date replyTime;
    //回答者
    private User replyUser;
    //回答对应的评论数
    private Integer commentCount;
    //回答上传的图片
    private String replyImgUrl;

}